package com.baomidou.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 交易订单
 * </p>
 *
 * @author sjw
 * @since 2024-06-18
 */
@TableName("trade_order__test")
@ApiModel(value = "TradeOrderTest对象", description = "交易订单")
public class TradeOrderTest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty("修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("买家ID")
    private String buyerId;

    @ApiModelProperty("买家类型")
    private String buyerType;

    @ApiModelProperty("卖家ID")
    private String sellerId;

    @ApiModelProperty("卖家类型")
    private String sellerType;

    @ApiModelProperty("商品ID")
    private String goodsId;

    @ApiModelProperty("商品类型")
    private String goodsType;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty("订单状态")
    private String orderState;

    @ApiModelProperty("已支付金额")
    private BigDecimal paidAmount;

    @ApiModelProperty("支付成功时间")
    private LocalDateTime paySuccessTime;

    @ApiModelProperty("订单确认时间")
    private LocalDateTime orderConfirmedTime;

    @ApiModelProperty("完结时间")
    private LocalDateTime orderFinishedTime;

    @ApiModelProperty("关单时间")
    private LocalDateTime orderClosedTime;

    @ApiModelProperty("支付方式")
    private String payMethod;

    @ApiModelProperty("支付流水号")
    private String payStreamId;

    @ApiModelProperty("关闭类型")
    private String closeType;

    @ApiModelProperty("逻辑删除标识")
    private Byte deleted;

    @ApiModelProperty("乐观锁版本号")
    private Integer lockVersion;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getBuyerType() {
        return buyerType;
    }

    public void setBuyerType(String buyerType) {
        this.buyerType = buyerType;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerType() {
        return sellerType;
    }

    public void setSellerType(String sellerType) {
        this.sellerType = sellerType;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public LocalDateTime getPaySuccessTime() {
        return paySuccessTime;
    }

    public void setPaySuccessTime(LocalDateTime paySuccessTime) {
        this.paySuccessTime = paySuccessTime;
    }

    public LocalDateTime getOrderConfirmedTime() {
        return orderConfirmedTime;
    }

    public void setOrderConfirmedTime(LocalDateTime orderConfirmedTime) {
        this.orderConfirmedTime = orderConfirmedTime;
    }

    public LocalDateTime getOrderFinishedTime() {
        return orderFinishedTime;
    }

    public void setOrderFinishedTime(LocalDateTime orderFinishedTime) {
        this.orderFinishedTime = orderFinishedTime;
    }

    public LocalDateTime getOrderClosedTime() {
        return orderClosedTime;
    }

    public void setOrderClosedTime(LocalDateTime orderClosedTime) {
        this.orderClosedTime = orderClosedTime;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getPayStreamId() {
        return payStreamId;
    }

    public void setPayStreamId(String payStreamId) {
        this.payStreamId = payStreamId;
    }

    public String getCloseType() {
        return closeType;
    }

    public void setCloseType(String closeType) {
        this.closeType = closeType;
    }

    public Byte getDeleted() {
        return deleted;
    }

    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }

    public Integer getLockVersion() {
        return lockVersion;
    }

    public void setLockVersion(Integer lockVersion) {
        this.lockVersion = lockVersion;
    }

    @Override
    public String toString() {
        return "TradeOrderTest{" +
            "id = " + id +
            ", gmtCreate = " + gmtCreate +
            ", gmtModified = " + gmtModified +
            ", orderId = " + orderId +
            ", buyerId = " + buyerId +
            ", buyerType = " + buyerType +
            ", sellerId = " + sellerId +
            ", sellerType = " + sellerType +
            ", goodsId = " + goodsId +
            ", goodsType = " + goodsType +
            ", goodsName = " + goodsName +
            ", orderAmount = " + orderAmount +
            ", orderState = " + orderState +
            ", paidAmount = " + paidAmount +
            ", paySuccessTime = " + paySuccessTime +
            ", orderConfirmedTime = " + orderConfirmedTime +
            ", orderFinishedTime = " + orderFinishedTime +
            ", orderClosedTime = " + orderClosedTime +
            ", payMethod = " + payMethod +
            ", payStreamId = " + payStreamId +
            ", closeType = " + closeType +
            ", deleted = " + deleted +
            ", lockVersion = " + lockVersion +
        "}";
    }
}
